added some development tools
[windows-sources.git] / developer / Samples / NET 4.6 / FileBrowser / Shell / Interfaces / IEnumFORMATETC.cs
blob7692b0536d30f81d947cb4dbf29574226496e4d0
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Runtime.InteropServices;
6 namespace ShellDll
8 [ComImport]
9 [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
10 [Guid("00000103-0000-0000-C000-000000000046")]
11 public interface IEnumFORMATETC
13 // Retrieves the specified number of FORMATETC structures in the enumeration
14 // sequence and advances the current position by the number of items retrieved
15 [PreserveSig]
16 int GetNext(
17 int celt,
18 ref ShellAPI.FORMATETC rgelt,
19 ref int pceltFetched);
21 // Skips over the specified number of elements in the enumeration sequence
22 [PreserveSig]
23 int Skip(int celt);
25 // Returns to the beginning of the enumeration sequence
26 [PreserveSig]
27 int Reset();
29 // Creates a new item enumeration object with the same contents and state as the current one
30 [PreserveSig]
31 int Clone(
32 ref IEnumFORMATETC ppenum);